08. Matrix Multiplication Quiz

Matrix Multiplication Quiz

let AA be a matrix of 11 x 55 and BB be matrix of 55 x 33.

A=[0.6152598]A=\begin{bmatrix} 0.6 &-15 &2&5&98\end{bmatrix}

B=[2249140130.544194005]B=\begin{bmatrix} 2&2&-4\\ 9 &-14 &0\\13&-0.5&44\\1&9&4\\0&0&5\end{bmatrix}

Notice that AA is actually a row vector! A matrix with only one row or one column is a vector

  • A matrix with only one row is a row vector
  • A matrix with only one column is a column vector

If C=AC=AxBB,

(a) How many rows will CC have?

(b) How many columns will CC have?

(c) What will be the value of c13c_{13}?

If C=BC=BxAA,

(d) What will be the value of c13c_{13}?

Code

If you need a code on the https://github.com/udacity.

Notice that in this quiz, we multiplied a vector by a matrix, which resulted in another vector.
Essentially what happened was that our original vector, [0.6152598]\begin{bmatrix} 0.6 &-15 &2&5&98\end{bmatrix}, went through a linear transformation and transformed into another vector with the use of the transformation matrix [2249140130.544194005]\begin{bmatrix} 2&2&-4\\ 9 &-14 &0\\13&-0.5&44\\1&9&4\\0&0&5\end{bmatrix} .

All this in the next set of videos.

Remember: if you are having issues with the workspace, reset your data.